import { h } from 'vue';
import {
  AlertFilled,
  // ScheduleFilled, // 版本暂时不需要日志管理模块，暂时注释
  LineChartOutlined,
  ToolFilled,
  UserOutlined,
  DatabaseFilled,
  SettingFilled,
} from '@ant-design/icons-vue';

export const asnycRoute = [];

//任意路由
// export const anyRoute = {
//   //任意路由
//   path: '/:pathMatch(.*)*',
//   redirect: '/404',
//   name: 'Any',
//   meta: {
//     title: '任意路由',
//     hidden: true,
//     icon: 'DataLine',
//   },
// };

// 首页路由 当前默认所有的app 必须有的login层级的路由
export const homeRoute = [];

//对外暴露配置路由(常量路由):全部用户都可以访问到的路由
export const constantRoute = [
  // {
  //   //登录
  //   path: '/login',
  //   component: () => import('@/views/login/index.vue'),
  //   name: 'login',
  //   meta: {
  //     title: '登录', //菜单标题
  //     hidden: true, //代表路由标题在菜单中是否隐藏  true:隐藏 false:不隐藏
  //   },
  // },
  {
    path: '/',
    redirect: '/663kameng',
  },
  // {
  //   //登录成功以后展示数据的路由
  //   path: '/',
  //   component: () => import('@/views/home-gen/index.vue'),
  //   name: 'home',
  //   //redirect: '/allAlarm/aiAlarm',
  // },
  {
    path: '/663kameng',
    component: () => import('@/views/zhanghao/门户网站-987品牌优选-首页/subpage2.vue'),
    name: '1231',
    children: homeRoute,
  },
  {
    path: '/kameng',
    component: () => import('@/views/zhaoyuanguang/门户网站-663卡盟-首页/index.vue'),
    name: '123',
    children: homeRoute,
  },
  {
    path: '/356jisukongjian',
    component: () => import('@/views/zhaoyuanguang/门户网站-365极速空间-首页/门户网站-365极速空间-page/index.vue'),
    name: '12',
    children: homeRoute,
  },
  {
    path: '/hairuan',
    component: () => import('@/views/puxuedong/门户网站-嗨软-首页/index.vue'),
    name: 'hairuan',
    //redirect: '/allAlarm/aiAlarm',
    children: homeRoute,
  },
  {
    path: '/hanyuzidian',
    component: () => import('@/views/puxuedong/门户网站-汉语字典-首页/index.vue'),
    name: 'hanyuzidian',
    //redirect: '/allAlarm/aiAlarm',
    children: homeRoute,
  },
  {
    //登录成功以后展示数据的路由
    path: '/',
    component: () => import('@/views/ql/门户网站-短书网-首页/index.vue'),
    name: 'home',
    //redirect: '/allAlarm/aiAlarm',
    children: homeRoute,
  },
  {
    path: '/zhangkaisheng',
    component: () => import('@/views/zhangkaisheng/index.vue'),
    name: 'zhangkaisheng',
    children: homeRoute,
  },
  {
    path: '/duoleshi',
    component: () => import('@/views/ql/门户网站-多乐士-首页/index.vue'),
    name: 'duoleshi',
  },
  {
    path: '/mao',
    component: () => import('@/views/maopengjie/门户网站-彼亿营销-首页/index.vue'),
    name: 'mao',
  },
  {
    path: '/gaoxiao',
    component: () => import('@/views/laowang/门户网站-高校之窗-首页/门户网站-高校之窗-首页-Subpage3/index.vue'),
    name: 'gaoxiao',
  },
  {
    path: '/gushi',
    component: () => import('@/views/laowang/门户网站-古诗大全-首页/门户网站-古诗大全-首页-page/index.vue'),
    name: 'gushi',
  },
  {
    path: '/keben',
    component: () => import('@/views/liuxin/门户网站-课本库网-首页/index.vue'),
    name: 'keben',
  },
  {
    path: '/katao',
    component: () => import('@/views/liuxin/门户网站-卡淘-首页/index.vue'),
    name: 'katao',
  },
  {
    path: '/liban',
    component: () => import('@/views/liuxin/门户网站-立邦乳胶漆-首页/index.vue'),
    name: 'liban',
  },
  {
    path: '/lichuan',
    component: () => import('@/views/liuxin/门户网站-立创开发板-首页/index.vue'),
    name: 'lichuan',
  },
  {
    path: '/qiaheda',
    component: () => import('@/views/liuxin/门户网站-恰合达品牌汇-首页/index.vue'),
    name: 'qiaheda',
  },
  {
    path: '/baisheng',
    component: () => import('@/views/liuxin/门户网站-百胜中国-首页/index.vue'),
    name: 'baisheng',
  },
  {
    path: '/cidian',
    component: () => import('@/views/liuxin/门户网站-成语词典-首页/index.vue'),
    name: 'cidian',
  },
  {
    path: '/ouwei',
    component: () => import('@/views/liuxin/门户网站-欧维数据-首页/index.vue'),
    name: 'ouwei',
  },
  {
    path: '/ouwei2',
    component: () => import('@/views/liuxin/门户网站-欧维数据-首页/subpage2.vue'),
    name: 'ouwei2',
  },
  {
    path: '/ouwei3',
    component: () => import('@/views/liuxin/门户网站-欧维数据-首页/subpage3.vue'),
    name: 'ouwei3',
  },
];
